Patron Account Inquiry
POST/api/patronsession/accountlookup
Operators will call this method on the on the VIP Connect API to get an end user’s VIP account data. This request will not create a patron session. It is only used to validate or get VIP end user details.
Operators need to send a JWT bearer token to authenticate the request.
info
ID details or VIP number (not both) need to be sent as parameters to get end user VIP Preferred data.
Request
Responses
- 200
- 400
- 401
- 404
Account inquiry call received and data returned.
note
The bankAccounts property is optional and is not returned by default. See Feature Toggles.
note
The property instantPaymentEligible within the bankAccounts data indicates if the bank supports instant payment for withdrawal transactions. See fundTransferType withdraw request parameter for a list of possible values.
{
"memberSince": "2022-08-01T00:00:00+00:00",
"lastTransaction": "0001-01-01T00:00:00+00:00",
"mostRecentTransactionAmount": 0.0,
"dateOfBirth": "09101997",
"last4SSN": "3545",
"incrementalLimitAmount": 0.0,
"maxLimitAmount": 0.0,
"vipCardNumber": "7210988860",
"idNumber": "****3545",
"idType": "DL",
"idState": "GA",
"firstName": "JOHN",
"lastName": "SMITH",
"name": "JOHN SMITH",
"address": "28 NQQODHNDV",
"city": "PRZYFAYQA",
"state": "TN",
"zip": "28292",
"homePhoneNumber": "8434811326",
"mobilePhoneNumber": "8434811326",
"email": "8ZN2EMYP@5JP6OEAZ.COM",
"limitAmount": 4500.0,
"availableAmount": 4500.0,
"isInGoodStanding": true,
"oneClickDiscountEligible": false,
"bankAccounts": [
{
"maskedAccountNumber": "****9999",
"routingNumber": "11111111",
"bankName": "Jpmorgan Chase Bank, Na",
"availableLimit": 0.00,
"instantPaymentEligible": false
},
{
"maskedAccountNumber": "**1111",
"routingNumber": "22222222",
"bankName": "Bank Of America, Na",
"availableLimit": 0.00,
"instantPaymentEligible": true
}
]
}
note
Amount limits are managed differently between VIP Preferred and VIP Online. The above example response is for VIP Preferred where amount limits are managed at the user level. In VIP Online, amount limits are managed at the bank account level which means the response would not contain the availableAmount field as shown above but rather inside the bankAccounts property as below:
"bankAccounts": [
{
"maskedAccountNumber": "****9999",
"routingNumber": "11111111",
"bankName": "Jpmorgan Chase Bank, Na",
"availableAmount": 348.31,
"instantPaymentEligible": true
},
{
"maskedAccountNumber": "**1111",
"routingNumber": "22222222",
"bankName": "Bank Of America, Na",
"availableAmount": 4500.0,
"instantPaymentEligible": false
}
]
Bad Request
Error message for all other cases, such as account closed
{
"errorCode": "13",
"transactionStage": "VIP Account Inquiry",
"operatorErrorMessage": "Account is closed.",
"operatorDeclineDescription": "This transaction has been requested from an account that has been closed. For further assistance please contact Pavilion Gaming Services customer support at 1-800-500-1973 with reference code E-13.",
"patronErrorMessage": "We are unable to complete this request. Please contact our Customer Service Team at 1-800-500-1973. Reference code E-13 so that we may better serve you."
}
JWT credentials invalid
The JWT token provided in the request is not valid.
Account Not Found
Account inquiry call received but user was not found
{
"errorCode": "12",
"transactionStage": "VIP Account Inquiry",
"operatorErrorMessage": "Account not found.",
"operatorDeclineDescription": "Account Not Found. For further assistance please contact Pavilion Gaming Services customer support at 1-800-500-1973 with reference code E-12.",
"patronErrorMessage": "We are unable to complete this request. Please contact our Customer Service Team at 1-800-500-1973. Reference code E-12 so that we may better serve you."
}